<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>js练习d倒计时页面</title>
    <link rel="stylesheet" href="./lx2.css" />
  </head>
  <body>
<h1>恭喜您，支付成功！</h1>
<div>
    <span id="num">10</span>
    <span>秒后自动返回</span>
</div>

<br>
<div>
    <button id="btn">立即返回</button>
</div>
<!--jq-->
 <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.4/jquery.js" type="text/javascript"></script>
    <script src="./lx2.js"></script>
  </body>
</html>